package edu.ucsc.gameAI.conditions;

import edu.ucsc.gameAI.ICondition;
import pacman.game.Game;

public class IsPowerPillStillAvailable implements ICondition{

	int powerPillIndex;

	public IsPowerPillStillAvailable(int pill) {
		powerPillIndex = pill;
	}

	public boolean test(Game game) {
		return game.isPowerPillStillAvailable(powerPillIndex);
	}

}
